package com.lighthouse.issue.base.dao;

import com.lighthouse.issue.base.domain.KnowledgeIssue;
import org.springframework.context.annotation.Configuration;
import org.springframework.data.elasticsearch.repository.ElasticsearchRepository;
import org.springframework.stereotype.Repository;

import java.util.List;

/**
 * @author ysz
 */
@Configuration
public interface KnowledgeIssueRepository extends ElasticsearchRepository<KnowledgeIssue, String> {
    /**
     * 查询所有数据
     * @return
     */
    @Override
    List<KnowledgeIssue> findAll();

}
